package com.jltx.xq.relaxnewspro.utils;

/**
 * Created by bo on 2017/4/5.
 */

public class StoryBean {
    private String title;
    private String []images;
    private int id;

    private String body;
    private String largepic;

    private boolean isCollected;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String[] getImages() {
        return images;
    }

    public void setImages(String[] images) {
        this.images = images;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getLargepic() {
        return largepic;
    }

    public void setLargepic(String largepic) {
        this.largepic = largepic;
    }

    public int isCollected() {
        return isCollected ? 1:0;
    }

    public void setCollected(int collected) {
        isCollected = (collected == 1 ? true:false);
    }
}
